

var pathBuilder = function(pathstr){

    this.str = pathstr;

    this.concat = function(p){

    };
    this.relative = function(p){

    };
    this.brunch = function(){

    };
    this.leaf = function(){

    };
    this.root = function(){

    };
};

var path = function(pathstr) {
    return new pathBuilder(pathstr);
};